<div class="forms">
<p align="center">
  <%=render 'mind/friends/icon_form'%>
</p>
    
<% form_tag :action => 'update', :id => @friend do %>
  <%= render :partial => 'form' %>
  <%=form_buttons :action => 'list'%>
<% end %>

<p align="right">
<%= link_to _('Destroy'), { :action => 'destroy', :id => @friend }, :confirm => _('Are you sure?'), :method => :post if @friend.id == current_friend.id || current_friend.in_domain?(:admin)%>
</p>
</div>